#pragma once

#include "qbe/src/ecs/plugin.hpp"
#include "qbe/src/ecs/stage.hpp"

#include "qbe/src/state/state.hpp"

#include "models.hpp"

#include "qlib/all.h"

namespace qbe::draw::section_area_3d {

class InitStage : public ecs::stage::after<ecs::stage::Startup> {};
class UpdateStage : public ecs::stage::after<state::UpdateStage> {};

qlib::Cell::s_ptr getCurrentSection3D();

class Plugin : public ecs::Plugin {
 public:
  void build(ecs::App&);
};

}  // namespace qbe::draw::section_area_3d